package pilha;

/**
 * @author Robinson
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public interface Pilha {    
    public int size();    //ok
    public boolean isEmpty(); //OK
    public Object top() throws PilhaVaziaExcecao; //ok
    public void push(Object o); //ok
    public Object pop() throws PilhaVaziaExcecao; //ok
}
